import { IFeidaoAiWeappPage } from '@dfeidao/atom-wxapp/interfaces';
import set_local from '@dfeidao/atom-wxapp/local/set';

export default async function a003(fd: IFeidaoAiWeappPage, e: {
	currentTarget: {
		dataset: {
			no: string,
			index: string
		}
	}
}) {
	// todo
	console.log('------args-a003-----', e);
	const select_no = e.currentTarget.dataset.no;
	const select_index = e.currentTarget.dataset.index;
	console.log(select_index, select_no);
	// render(fd, {
	// 	select_no,
	// 	select_index,
	// 	action_no: select_no
	// })
	set_local(fd, 'select_no', select_no);
	set_local(fd, 'select_index', select_index);
	set_local(fd, 'action_no', select_no);
}
